Support the new log-edit behavior in vc-git-log-edit-toggle-amend
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 2 Dec 2013 22:13:51 +0000 (00:13 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 2 Dec 2013 22:13:51 +0000 (00:13 +0200)
commit530d6554569f8f0d201cb6df42a26c4b5134bc51
treeffca5f2286c1883e04b4c2bd758fc6c77fa1c6e6
parent25f9ca83b5731047727c8e06471542990637b39f
Support the new log-edit behavior in vc-git-log-edit-toggle-amend

* lisp/vc/log-edit.el (log-edit-set-header): Extract from
`log-edit-toggle-header'.
(log-edit-extract-headers): Separate the summary, when extracted
from header, from the rest of the message with an empty line.

* lisp/vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
line, if present, to the Summary header.
lisp/ChangeLog
lisp/vc/log-edit.el
lisp/vc/vc-git.el